<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><{$page.p_title}> - <{$setting.title}></title>
<meta content="<{$setting.keywords}>"  name="keywords"/>
<meta content="<{$setting.description}>" name="description"/>
<link href="<{$weburl}>/templates/default/<{$setting.templates}>/css/page.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="<{$weburl}>/static/js/jquery.js"></script>
<script type="text/javascript" src="<{$weburl}>/static/js/Validform_v5.3.2_min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
    //品牌选择
	$("#brand").change(function(){
		$.get("<{$weburl}>/index.php?m=ajax&ajax=1", { 
			brandid :  $("#brand").val() 
		}, function (data, textStatus){
               $("#subbrand").html(data); // 把返回的数据添加到页面上
			}
		);
	});
	//品牌选择
	$("#subbrand").change(function(){
		$.get("<{$weburl}>/index.php?m=ajax&ajax=1", { 
			subbrandid :  $("#subbrand").val() 
		}, function (data, textStatus){
               $("#subsubbrand").html(data); // 把返回的数据添加到页面上
			}
		);
	});
	
	//表单验证
	$(".carform").Validform({
		tiptype:2
	});
});
</script>
</head>
<body>
<!--内容--> 
<{include file="default/`$setting.templates`/head.html"}>
<div class="assess_banner">
		<div class="assessbox">
			<div class="form_title"><span>免费评估车源</span></div>
				<form name="carform" class="carform" method="post" action="<{$weburl}>/index.php?m=assesscar">
					<table cellspacing="0" cellpadding="0" width="100%"  class="sell_table">
						<tr>
							<th> 品&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;牌：</th>
							<td colspan="3"><select name="p_brand" id="brand" datatype="n" nullmsg="请选择品牌！" class="select01">
									<{$selectbrand}>
								</select>
							</td>
						</tr>
						<tr>
							<th> 车&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;系：</th>
							<td>
								<select id="subbrand" name="p_subbrand" datatype="n" nullmsg="请选择车系！" class="select01">
									<option value="" selected>请选择车系</option>                       
								</select>
							</td>
						</tr>
						<tr>
							<th> 车&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;型：</th>
							<td>
								<select id="subsubbrand" name="p_subsubbrand" datatype="n" nullmsg="请选择款式！" class="select01">
								<option value="" selected>请选择款式</option>
							</select>
							</td>
						</tr>
						<tr>
							<th>上牌日期：</th>
							<td><select name="p_year" datatype="n" nullmsg="请选择年份！" class="select02">
									<{$select_year}>
								</select>
								<select name="p_month" datatype="n" nullmsg="请选择月份！" class="select02">
									<{$select_month}>
								</select>
							</td>
							</td>
						</tr>
						<tr>
							<th>行驶里程：</th>
							<td><input name="p_kilometre" type="text" id="p_kilometre" size="15" />
								<span class="gray">(万公里)</span></td>
							</td>
						</tr>
						<tr>
							<th>手&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;机：</th>
							<td><input name="p_contact_tel" type="text" size="30" class="inp01" value="" datatype="m" nullmsg="请填写手机号！"/></td>
						</tr>
						<tr>
							<th>验&nbsp;&nbsp;证&nbsp;&nbsp;码：</th>
							<td colspan="5"><input name="authcode" id="cftcode"  type="text"  class="inp02" datatype="s" ajaxurl="<{$weburl}>/index.php?m=ajax&ajax=1" nullmsg="请输入验证码！" errormsg="请输入正确的验证码！"/> <img src="<{$weburl}>/include/kcaptcha/" width="70" height="30" onclick="this.src='<{$weburl}>/include/kcaptcha/?'+Math.random();" title="点击刷新验证码" style="cursor:pointer" id="checkcode" align="absmiddle"></td>
						</tr>
						<tr>
							<td></td>
							<td><input type="submit" value="立刻发布" class="sell_but02">
								<input type="hidden" name="action" value="sellcar"></td>
						</tr>
					</table>
				</form>
		</div>
</div>
<div class="main clearfix">
	<!--<div class="main_left">--><div>
		<div class="commonbox05">
			<h3 class="clearfix"><span>最新评估案例</span></h3>
			<div>
				<table cellspacing="0" cellpadding="0" width="100%"  class="listtable01">
					<tr><th>品牌型号</th><th>上牌日期</th><th>行驶里程</th><th>评估价</th></tr>
					<{foreach from=$assesslist item=assess}>
					<tr>
					<td align="center"><{$assess.p_allname}></td>
					<td align="center"><{$assess.p_year}>年<{$assess.p_month}>月</td>
					
					<td align="center"><{$assess.p_kilometre}>万公里</td>
					<td align="center" class="red"><{$assess.p_price}>万元</td>
					</tr>
					<{/foreach}>
				</table>
			</div>
		</div>
	</div>
	<!--<div class="main_right">
		<div class="commonbox05">
			<h3 class="clearfix"><span>热卖二手车</span></h3>
			<div>
				<table cellspacing="0" cellpadding="0" width="100%"  class="listtable01">
					<tr><th align="left">车系</th><th>车源数量</th></tr>
					<{foreach from=$buycarslist item=cars}>
					<tr>
					<td align="left"><a href="<{$cars.p_url}>" target="_blank">求购 <{$cars.p_allname}></a></td>
					<td align="center" class="red"><{$cars.p_price}>万</span></td>
					<td align="center"><{$cars.age}></td>
					<td align="center"><{$cars.p_addtime}></td>
					</tr>
					<{/foreach}>
				</table>
			</div>
		</div>
	</div>-->
</div>
<!--版权--> 
<{include file="default/`$setting.templates`/foot.html"}>
</body>
</html>
